package net.sudot.chess.business.model;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 充值配置
 *
 * @author tangjialin on 2018-03-17.
 */
@Getter
@Setter
@Accessors(chain = true)
@Entity
public class RechargeConfig extends BaseEntity<RechargeConfig> {
    /** 支付价格 */
    private BigDecimal price;
    /** 充值金额 */
    private BigDecimal money;
    /** 赠送积分 */
    private Long rewardPoint;
    /** 赠送金额 */
    private BigDecimal rewardMoney;
    /** 是否默认选择 */
    private Boolean isDefault;

}
